package com.sykj.bsc.wsy.task;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.sykj.bsc.wsy.service.Bis_coupon_activeService;

@Component
public class RecordTask {

	@Autowired
	private Bis_coupon_activeService service;
	@Scheduled(cron="0 0/30 * * * ? ")
	public void task(){
		service.taskCheckIsOld();
	}
}
	